I have lost sudo privileges in Ubuntu 13.04 [duplicate]
Posted
by
Fredca
on Ask Ubuntu
See other posts from Ask Ubuntu
or by Fredca
Published on 2013-10-24T08:36:56Z
Indexed on
2013/10/25
16:12 UTC
Read the original article
Hit count: 268
This question already has an answer here:
- How do I add myself back as a sudo user? 3 answers
I have lost sudo privileges in Ubuntu 13.04 these are the responses I get
user@user-desktop:~$ sudo
sudo: effective uid is not 0, is sudo installed setuid root?
user@user-desktop:~$ groups user
user : user adm cdrom sudo dip plugdev lpadmin sambashare
user@user-desktop:~$ su user
Password:
su: Authentication failure
user@user-desktop:~$ who am i
user pts/0 2013-10-24 08:54 (:0.0)
user@user-desktop:~$
why can't I invoke sudo if one of my groups is sudo?
also I have noticed that /etc/sudoers needs sudo privileges. sudoers.so doesn't exist in /usr/lib but does in /usr/lib/sudo is this correct in 13.04?
Please note that the user is already a member of both sudo and adm groups.
© Ask Ubuntu or respective owner